<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body {
            margin: 0;
        }

        .sub-header {
            height: 100px;
            background-color: darkgray;
        }

        .sub-header .ht {
            height: 100px;
        }

        .container {
            width: 1128px;
            margin: 0 auto;
        }

        .sub-header .logo {
            width: 234px;
            float: left;
            border: 1px solid red;
        }

        .sub-header .logo a {
            margin-top: 22px;
            display: inline-block;
        }

        .sub-header .logo img {
            height: 56px;
            width: 56px;
        }

        .sub-header .menu-list {
            float: left;
            line-height: 100px;
        }


        .sub-header .menu-list a {
            display: inline-block;
            padding: 0 10px;
            color: #333;
            font-size: 16px;
            text-decoration: none;
        }

        .sub-header .menu-list a:hover {
            color: #ff6700;
        }


        .sub-header .search {
            float: right;
        }
    </style>
</head>

<body>


    <div class="sub-header">
        <div class="container">
            <div class="logo ht">
                <a href="https://www.mi.com/">
                    <img src="/Users/wolfan/Desktop/WolfWorkFile/DevOps/CodeDev/PythonProject/PythonSpider/Python_PeiQi_learn/flask_web/web03/xiaomi.jpg"
                        alt="">
                </a>
            </div>
            <div class="menu-list ht">
                <a href="https://www.mi.com/">电视</a>
                <a href="https://www.mi.com/">手机</a>
                <a href="https://www.mi.com/">电视</a>
                <a href="https://www.mi.com/">冰箱</a>
                <a href="https://www.mi.com/">洗衣机</a>
            </div>
            <div class="search ht">ff</div>
            <div class="clear:both;"></div>
        </div>
    </div>


</body>

</html>